﻿@model verk2013_project_group12.Models.LocalPasswordModel
@{
    ViewBag.Title = "Manage Account";
}

<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
</hgroup>

<p class="message-success">@ViewBag.StatusMessage</p>

<p>You're logged in as <strong>@User.Identity.Name</strong>.</p>

@if (ViewBag.HasLocalPassword)
{
    @Html.Partial("_ChangePasswordPartial")
}
else
{ 
    @Html.Partial("_SetPasswordPartial")
}

@using (@Html.BeginForm("ChangeAvatar", "Account"))
{
    <label>Change Avatar</label>
    <p>type in the url of the image</p>
    <input type="url" id="AvatarChange" name="AvatarUrl" />
    <input  type="submit" value="Change Avatar" id="AvatarLink" />

				   
} 


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
